package com.jhd.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jianghaidong
 * @date 2024/11/24 19:18
 * @description: 测试类
 */

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello() {
        System.out.println("hello World!");
        return "Hello World";
    }
}
